﻿using WeDonekRpc.Helper.Validate;

namespace Basic.FormRemoteModel.Page.Model
{
    public class PageSet
    {
        /// <summary>
        /// 页面类目
        /// </summary>
        [NullValidate("form.page.classify.null")]
        [LenValidate("form.page.classify.len", 2, 6)]
        public string PageClassify { get; set; }

        /// <summary>
        /// 页面名
        /// </summary>
        [NullValidate("form.page.name.null")]
        public string PageName { get; set; }

        /// <summary>
        /// 页面说明
        /// </summary>
        [LenValidate("form.page.show.len", 0, 100)]
        public string PageShow { get; set; }
    }
}
